<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <ui:composition template="/pages/template/template.xhtml">
        <ui:define name="content">
            <h:form id="frmLogin">
                <h:panelGrid id="pgLogin" columns="2">
                    <h:outputLabel value="#{i18n['frm.login.usuario']}" style="#{applicationMBean.estiloLabel}"/>
                    <p:inputText value="#{loginMBean.usuario}" size="40" style="#{applicationMBean.estiloLabel}"
                                 required="true"/>
                    
                    <h:outputLabel value="#{i18n['frm.login.password']}" style="#{applicationMBean.estiloLabel}"/>
                    <p:password value="#{loginMBean.password}" size="40" style="#{applicationMBean.estiloLabel}"
                                required="true"/>
                </h:panelGrid>
                <p:commandButton value="#{i18n['frm.login.btn.ingresar']}" action="#{loginMBean.ingresar}"
                                 style="#{applicationMBean.cssBotonCeleste}" ajax="false" title="#{i18n['frm.login.btn.ingresar']}"/>
            </h:form>
        </ui:define>
    </ui:composition>
</html>

